<template>
    <div class="index">
        <ul>
            <li>
                <router-link :to="{ path: '/huizong' ,query: { token: $route.query.token }}">
                <i class="iconfont icon-zilaishuichang"></i>
                <p>水质汇总</p>
                </router-link>
            </li>
            <li>
                <router-link :to="{ path: '/shuizhi' ,query: { token: $route.query.token }}">
                <i class="iconfont icon-zilaishuichang"></i>
                <p>水质合格率</p>
                </router-link>
            </li>
            <li>
                <router-link :to="{ path: '/pianqu' ,query: { token: $route.query.token }}">
                <i class="iconfont icon-zilaishuichang"></i>
                <p>片区合格率</p>
                </router-link>
            </li>
            <li>
                <router-link :to="{ path: '/dianwei' ,query: { token: $route.query.token }}">
                <i class="iconfont icon-zilaishuichang"></i>
                <p>点位合格率</p>
                </router-link>
            </li>
        </ul>
        <!-- <iframe src="http://192.168.101.12:8201/#/clear" frameborder="0"></iframe> -->
    </div>
</template>

<script>
import utils from '@/utils'
import {
  getUserInfo,
  setUserInfo,
  logout
} from '@/utils/auth'
export default {
    data() {
        return {

        }
    },
    created(){
        setUserInfo(utils.getQueryString('token'))
        console.log(utils.getQueryString('token'))
    }
}
</script>
<style>

</style>

